//计算当前是周几
export default function getWeek(dateStr) {
    var weekDay = ["周天", "周一", "周二", "周三", "周四", "周五", "周六"];
    var dateStrrr = dateStr;
    var myDate = new Date(Date.parse(dateStrrr.replace(/-/g, "/")));
    return weekDay[myDate.getDay()]
}
